package com.jiao.databinding3;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import androidx.appcompat.app.AppCompatActivity;

import com.jiao.databinding3.baseobservable.MainActivity1;
import com.jiao.databinding3.observablefield.MainActivity2;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    public void clickOne(View view) {

        startActivity(new Intent(MainActivity.this, MainActivity1.class));
    }

    public void clickTwo(View view) {
        startActivity(new Intent(MainActivity.this, MainActivity2.class));

    }

    public void clickThree(View view) {

    }
}